/**供应管理
 * Auth login 验证登录 roles 验证登录且验证权限
 * **/
import Layout from '@/views/layout/Layout'

const surveyRouter = {
    path: '/accommodation',
    component: Layout,
    redirect: '/accommodation/home',
    name: 'Accommodation',
    meta: {
        title: '住宿管理',
        icon: 'el-icon-message',
        parent: "workbench",
        Auth: 'login'
    },
    children: [
        {
            path: '/accommodation/home',
            component: () => import('@/views/accommodation/home/index'),
            name: 'AccommodationHome',
            meta: {
                title: '住宿管理',
                icon: "goods",
                desc: "住宿管理",
                Auth: "030100",
                authorize: true
            },
        },
        {
            path: '/accommodation/areaDetail',
            component: () => import('@/views/accommodation/home/areaDetail'),
            name: 'AccommodationHome',
            meta: {
                title: '房态模式',
                icon: "goods",
                desc: "房态模式",
                Auth: "030100",
                authorize: true,
                hidden: true

            }
        },
    ]
}

export default surveyRouter